package com.dongway.netcondition.dto;

import java.util.List;

import com.dongway.core.model.Bean;

public class RegionDTO extends Bean{

    private Integer id;
    private String name;
    private List<RoadDTO> roads;


    public Integer getId() {
        return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name;
    }


    public List<RoadDTO> getRoads() {
        return roads;
    }


    public void setRoads(List<RoadDTO> roads) {
        this.roads = roads;
    }

    public static class RoadDTO extends Bean{

        private Integer id;
        private String name;
        private List<AutoCompleteItem> stations;


        public Integer getId() {
            return id;
        }


        public void setId(Integer id) {
            this.id = id;
        }


        public String getName() {
            return name;
        }


        public void setName(String name) {
            this.name = name;
        }


        public List<AutoCompleteItem> getStations() {
            return stations;
        }


        public void setStations(List<AutoCompleteItem> stations) {
            this.stations = stations;
        }
    }

}
